
<div class="item row row-header done in hidden-xs hidden-sm">

  <!-- compact -->
  <a class="pull-left gray button button-text button-small no-margin no-padding"
     ng-class="{'positive': compactMode}"
     ng-click="toggleCompactMode()">
    <i class="icon ion-navicon"></i>
    <b class="ion-arrow-down-b" style="position: absolute; top: -8px; left: 2px; font-size: 8px;"></b>
    <b class="ion-arrow-up-b" style="position: absolute; top: 6px; left: 2px; font-size: 8px;"></b>
    <span>{{'BLOCKCHAIN.LOOKUP.BTN_COMPACT'|translate}}</span>
  </a>

  <a class="no-padding dark col col-header"
     ng-if=":rebind:expertMode"
     ng-click="toggleSort('medianTime')">
    <cs-sort-icon asc="search.asc" sort="search.sort" toggle="'medianTime'"></cs-sort-icon>
    {{'BLOCKCHAIN.LOOKUP.HEADER_MEDIAN_TIME' | translate}}
  </a>
  <a class="no-padding dark col col-header"
     ng-if=":rebind:expertMode"
     ng-click="toggleSort('issuer')">
    <cs-sort-icon asc="search.asc" sort="search.sort" toggle="'issuer'"></cs-sort-icon>
    {{'BLOCKCHAIN.LOOKUP.HEADER_ISSUER' | translate}}
  </a>
  <div class="col col-20">&nbsp;
  </div>
  <a class="no-padding dark col col-20 col-header"
     ng-if=":rebind:expertMode"
     ng-click="toggleSort('number')">
    <cs-sort-icon asc="search.asc" sort="search.sort" toggle="'number'"></cs-sort-icon>
    {{'BLOCKCHAIN.LOOKUP.HEADER_BLOCK' | translate}}
  </a>
</div>

<div class="padding gray" ng-if=":rebind:!search.loading && !search.results.length" translate>
  COMMON.SEARCH_NO_RESULT
</div>

<!-- blocks (large view) -->
<ng-if ng-if=":rebind:!smallscreen">
  <ng-repeat ng-repeat="block in :rebind:search.results track by block.number"
             ng-include="!block.empty ? 'templates/blockchain/item_block_lg.html' : 'templates/blockchain/item_block_empty_lg.html'">
  </ng-repeat>
</ng-if>
<!-- blocks (small screens) -->
<ng-if ng-if=":rebind:smallscreen">
  <ng-repeat ng-repeat="block in :rebind:search.results track by block.number"
             ng-include="'templates/blockchain/item_block.html'">
  </ng-repeat>
</ng-if>
